import { request } from '@/common/utils/request'

// 单车产废统计
export const vehicleWasteApi = (data) => {
    return request({
        url: "/dataStatistics/vehicleWasteStatistics",
        method: "GET",
        data,
    });
}

// 产废过程量统计 .
export const produceProcessApi = (data) => {
    return request({
        url: "/biz/index/wasteMonthStatistics",
        method: "GET",
        data,
    });
}

// 产废过程量详情统计.
export const produceProcessDetailsApi = (data) => {
    return request({
        url: "/biz/statistics/wasteProcessStatistics",
        method: "GET",
        data,
    });
}


// 贮存场统计
export const storageApi = (data) => {
    return request({
        url: '/biz/index/wasteFacilityStatistics',
        method: 'GET',
        data
    })
}

// 贮存场详情 .
export const storageDetailsApi = (data) => {
    return request({
        url: '/biz/statistics/storageFacilityStatistics',
        method: 'GET',
        data
    })
}

// 预警数据统计
export const alarmChartApi = (data) => {
    return request({
        url: '/dataStatistics/h5AlarmStatistics',
        method: 'GET',
        data
    })
}

// 预警详情数据统计
export const alarmDetailsApi = (data) => {
    return request({
        url: '/dataStatistics/h5AlarmDetailStatistics',
        method: 'GET',
        data
    })
}